package m1.client;

import m2.service.ServiceRequis;

public class ReserveRequestS extends ServiceRequis {

	public ReserveRequestS() {
		super("ReserveRequestS");
		ReserveRequestP reserveRequestP = new ReserveRequestP();
		this.setPortRequis(reserveRequestP);
		portRequis.addObserver(this);

	}

	@Override
	public void update(Object o, Object arg) {
		System.out.println("\n\n Client a recu: " + arg);
		notifyObservers(arg);
	}
}
